package com.qiangesoft.batchsave.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiangesoft.batchsave.entity.MallOrder;

import java.util.List;

/**
 * <p>
 * 订单信息表 服务类
 * </p>
 *
 * @author qiangesoft
 * @since 2024-05-07
 */
public interface IMallOrderService extends IService<MallOrder> {

    /**
     * xml批量插入
     *
     * @param orderList
     */
    void saveBatchXml(List<MallOrder> orderList);

    /**
     * InsertBatchSomeColumn批量插入
     *
     * @param orderList
     */
    void insertBatchSomeColumn(List<MallOrder> orderList);

    /**
     * 手动提交批量插入
     *
     * @param orderList
     */
    void manualCommit(List<MallOrder> orderList);

    /**
     * statement.executeBatch批量插入
     *
     * @param orderList
     */
    void executeBatch(List<MallOrder> orderList);

    /**
     * 异步任务批量插入
     *
     * @param orderList
     */
    void saveBatchAsync(List<MallOrder> orderList);

}
